<?php

defined('SYSPATH') or die('No direct script access.');
/**
 * 模板引擎的配置文件
 */
return array(
    'default' => array(
        'template_dir' => ROOT_PATH . 'themes/default/templates',
        'cache_dir' => ROOT_PATH . 'themes/default/caches',
        'compile_dir' => ROOT_PATH . 'themes/default/templates_c',
        'cache_lifetime' => 3600,
        'caching' => FALSE,
        'media_path' => 'themes/default/templates/',
    ),
    'admin' => array(
        'template_dir' => ROOT_PATH . 'themes/admin/templates',
        'cache_dir' => ROOT_PATH . 'themes/admin/caches',
        'compile_dir' => ROOT_PATH . 'themes/admin/templates_c',
        'cache_lifetime' => 3600,
        'caching' => FALSE,
        'media_path' => 'themes/admin/templates/',
    ),
    'user' => array(
        'template_dir' => ROOT_PATH . 'themes/user/default/templates',
        'cache_dir' => ROOT_PATH . 'themes/user/default/caches',
        'compile_dir' => ROOT_PATH . 'themes/user/default/templates_c',
        'cache_lifetime' => 3600,
        'caching' => FALSE,
        'media_path' => 'themes/user/default/templates/',
    ),
);